/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2022-09-09
 * Time: 22:06
 */
public class demo1 {
    public static void main(String[] args) {
        int sum = 0;

        for(int i = 0; i < 5; i++){

            for(int j = 0; j < 5; j++){

                if(i==j){

                    sum += i + j;

                    continue;

                }

            }

        }

        System.out.println(sum);



    }
}
